/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package animales;
/**
 *
 * @author COEV
 */
public class testAnimales {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Terrestres gatita=new Terrestres(4,"gatita","felino","cosmopolitan");
        Marinos ballena=new Marinos(0, "ballena",5,"blanca");
        
        System.out.println(gatita.imprimirInfo());
        System.out.println(ballena.imprimirInfo());
        
        gatita.modificar(8,"gato");
        System.out.println(gatita.imprimirInfo());
    }
}